package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Menu;

import java.util.List;

/**
 * <p>
 * 菜单权限表 Mapper 接口
 * </p>
 *
 * @author baomidou
 * @since 2023-03-16
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> selectByRoleIds(@Param("roleIds") Long... roleIds);
}
